<?php
include_once dirname(__FILE__).'/../data/config.inc.php';

$__f_econfig = License::get_econfig();
$__db = new DBase(DB_HOST, DB_USER, DB_PASS, DB_NAME);	// 数据表操作类实例

// 加载系统变量
$__f_sysvars = cache_read('sysvars.php');
VS::set('f_sysvars', $__f_sysvars);

/*******************************************************************************
 * 某些系统设置调用地方比较多，先进行一些过滤处理
 *******************************************************************************/
$__f_sysvars['url_rewrite'] = empty($__f_sysvars['url_rewrite']) ? '' : trim($__f_sysvars['url_rewrite']);

$__frm = empty($_REQUEST['frm']) ? '' : trim($_REQUEST['frm']);
$__mdl = empty($_REQUEST['mdl']) ? 'index' : trim($_REQUEST['mdl']);
$__do = empty($_REQUEST['do']) ? '' : trim($_REQUEST['do']);

?>